/* 继承 */


class Good1 extends Good {
	String gadder;
	Good1(String x, int y,int z, String aa) {
		super(x,y,z);
		gadder = aa;
	}
}

class Good2 extends Good1 {
	String factory;
	Good2(String x, int y, int z, String l, String n) {
		super(x,y,z,l);
		factory = n;
	}
}

class text {
	public static void main(String args[]) {
		Good2 a1 = new Good2("篮球",1000,45,"长安区","xiyoulinux");
		a1.print();
	}
}
